package com.stx.threeGrup.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.Map;

/**
 * Created by Administrator on 2019/6/11
 */
public class Results implements Serializable {
    private String              message;
    private Integer             state;
    private Map<String, Object> map = new HashMap<>();

    public Results(String message,Integer state) {
        this.message = message;
        this.state = state;
    }

    public Results addObject(String t, Object o) {
        this.map.put(t, o);
        return this;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Map<String, Object> getMap() {
        return map;
    }

    public void setMap(Map<String, Object> map) {
        this.map = map;
    }
}
